import request from '@/utils/request'

// 查询1列表
export function listStudentTeacherClass(query) {
  return request({
    url: '/zua/studentTeacherClass/list',
    method: 'get',
    params: query
  })
}

// 查询1详细
export function getStudentTeacherClass(id) {
  return request({
    url: '/zua/studentTeacherClass/' + id,
    method: 'get'
  })
}

// 新增1
export function addStudentTeacherClass(data) {
  return request({
    url: '/zua/studentTeacherClass',
    method: 'post',
    data: data
  })
}

// 修改1
export function updateStudentTeacherClass(data) {
  return request({
    url: '/zua/studentTeacherClass',
    method: 'put',
    data: data
  })
}

// 删除1
export function delStudentTeacherClass(id) {
  return request({
    url: '/zua/studentTeacherClass/' + id,
    method: 'delete'
  })
}

// 导出1
export function exportStudentTeacherClass(query) {
  return request({
    url: '/zua/studentTeacherClass/export',
    method: 'get',
    params: query
  })
}